//
//  EMBackNavBarView.m
//  EasyMoney
//
//  Created by 邓乐 on 2020/1/13.
//  Copyright © 2020 zh. All rights reserved.
//

#import "EMBackNavBarView.h"

@interface EMBackNavBarView ()



@end

@implementation EMBackNavBarView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _backBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        [self addSubview:_backBtn];
        [_backBtn mas_makeConstraints:^(MASConstraintMaker *make) {
            make.size.mas_equalTo(CGSizeMake(20, 20));
            make.left.mas_equalTo(15);
            make.centerY.equalTo(self.headerLabel);
        }];
    }
    return self;
}

@end
